package com.y.fund.handler;

import java.util.Map;

import com.alibaba.ttl.TransmittableThreadLocal;

/** 当前操作数据的VO，便于在主线程处理业务完成后向异步业务传递数据  */
public class CurrOptDataVo {
	
	protected static ThreadLocal<Map<String, Object>> ThreadLocal = new TransmittableThreadLocal<Map<String, Object>>();
	
	public static void Set(Map<String, Object> val) {
		ThreadLocal.set(val);
	}

	public static Map<String, Object> Get() {
		return ThreadLocal.get();
	}

	public static void Remove() {
		ThreadLocal.remove();
	}
}
